package com.itheima.admin.service;


import com.itheima.pojo.dto.PageDto;
import com.itheima.pojo.dto.UserDto;
import com.itheima.pojo.dto.UserRoleDto;
import com.itheima.pojo.vo.PageVo;
import com.itheima.pojo.vo.UserPageVo;
import com.itheima.pojo.vo.UserVo;

import javax.servlet.http.HttpSession;

public interface IUserService {
    UserVo queryById(String id);
    Boolean deleteById(String ids);
    Boolean addUser(UserDto userDto, HttpSession session);
    Boolean updateUser(UserDto userDto);
    Boolean addUserRole(UserRoleDto userRoleDto);
    PageVo<UserPageVo> queryByPage(PageDto pageDto);
}